home *** CD-ROM | disk | FTP | other *** search
/ Clickx 35 / Clickx 35.iso / assets / software / EC Architect / Acrobat / Data1.cab / PictureTasks.api / EXVW / 107 < prev    next >
Encoding:
Text File  |  2003-11-03  |  1.9 KB  |  57 lines

  1. gGapHeight = 2;
  2. gSpecialFeaturesWidth = zstring_width(zstring: '$$$/Dialogs/PTNotice/SpecialFeatures') + 50;
  3.  
  4. gMaxZStringsWidth=max(
  5.     gSpecialFeaturesWidth,
  6.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ProductFamilyLine1'),
  7.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ProductFamilyLine2'),
  8.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ProductFamilyLine3'),
  9.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ButtonExplanationLine1'),
  10.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ButtonExplanationLine2'),
  11.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ButtonExplanationLine3'),
  12.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ButtonExplanationLine4'),
  13.     zstring_width(zstring: '$$$/Dialogs/PTNotice/ExportBullet'),
  14.     zstring_width(zstring: '$$$/Dialogs/PTNotice/EditBullet'),
  15.     zstring_width(zstring: '$$$/Dialogs/PTNotice/PrintBullet'),
  16.     zstring_width(zstring: '$$$/Dialogs/PTNotice/OrderBullet'));
  17.  
  18. dialog(name: '$$$/Dialogs/PTNotice', target_id: 1, width: gMaxZStringsWidth + 10)
  19. {
  20.  
  21.     view(align_children: align_column, width: gMaxZStringsWidth)
  22.     {
  23.  
  24.  
  25.         static_text(item_id: 'spdf', name: '$$$/Dialogs/PTNotice/SpecialFeatures', width: gSpecialFeaturesWidth);
  26.         gap(height: gGapHeight * 2);
  27.  
  28.         group(spacing: 0)
  29.         {
  30.             static_text(name: '$$$/Dialogs/PTNotice/ButtonExplanationLine1');
  31.             static_text(name: '$$$/Dialogs/PTNotice/ButtonExplanationLine2');
  32.             static_text(name: '$$$/Dialogs/PTNotice/ButtonExplanationLine3');
  33.         }
  34.         
  35.  
  36.         group(spacing: 1)
  37.         {
  38.             static_text(name: '$$$/Dialogs/PTNotice/ExportBullet');
  39.             static_text(name: '$$$/Dialogs/PTNotice/SlideshowBullet');
  40.             static_text(name: '$$$/Dialogs/PTNotice/SharePhotoBullet');            
  41.         }
  42.         
  43.         gap(height: gGapHeight * 3);
  44.  
  45.         view(align_children: align_row, width: gMaxZStringsWidth)
  46.         {
  47.             check_box(item_id: 'dsma', name: '$$$/Dialogs/PTNotice/DSMA', alignment: align_left);
  48.  
  49.             ok(alignment: align_right);
  50.         }
  51.  
  52.  
  53.         
  54.     }
  55.  
  56. }
  57.